﻿@model MerchantTribeStore.Models.AddressViewModel

@{    
    Layout = "~/Areas/account/Views/Shared/_AccountLayout.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<h1>Edit Address</h1>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    @Html.Partial("_AddressEditor", Model)
    <a href="@Url.Action("Index")">Close</a> <input type="image" src="@ViewBag.SaveButtonUrl" alt="Save Changes" />         
}